package com.yunxi.sys.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class MenuVO implements java.io.Serializable {

    private String menuId;

    private String menuName;

    private String menuUrl;

    private String pid;

    private String[] parentIdArr;

    private String menuOrder;

    private String menuIcon;

    private Short menuType;

    private String memo;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    private String createBy;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    private String updateBy;

    private List<MenuVO> subMenuList = new ArrayList();
    private String menuNoneIcon;
    private boolean checked = false;

    private transient String hasChild;
    private String hasChecked;

    private String parentAddr;

    private String sysType;

    private List<MenuActionVO> actionList = new ArrayList<MenuActionVO>();

    @ApiModelProperty(value = "销售售后类型区分;1.pms; 2.ups")
    private String tenantId;
}